package org.nobody.mallb2c.mallorder.feign;

import org.nobody.mallb2c.mallorder.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-21-21:38
 */
@FeignClient("mall-member")
public interface MemberFeignService {
  @GetMapping("/mallmember/memberreceiveaddress/{memberId}/address")
  List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);
}
